/* 修改container的最大宽度为 1280 根据设计稿来走的 */

@media screen and (min-width: 1280px) {
  .container {
    width: 1280px;
  }
}

/* header */

header {
  padding-left: 0 !important;
}

.logo {
  background-color: #429ad9;
}

.logo img {
  width: 100%;
}

.nav {
  background-color: #eee;
  border-bottom: 1px solid #ccc;
}

.nav a {
  display: block;
  height: 50px;
  line-height: 50px;
  padding-left: 30px;
  font-size: 16px;
}

.nav a:hover {
  background-color: #fff;
  color: #333;
}

.nav a::before {
  vertical-align: middle;
  padding-right: 5px;
  position: relative;
  top: -3px;
}

a {
  color: #666;
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}
ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.news ul li {
    float: left;
    width: 25%;
    height: 128px;
    /* background-color: pink; */
    padding-right: 10px;
    margin-bottom: 10px;
}

.news ul li:first-child {
    width: 50%;
    height: 266px;
}
.news ul li a {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    /* background-color: purple; */
}
.news ul li a img {
    width: 100%;
    height: 100%;
}

.news ul li a p {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 40px;
    line-height: 20px;
    background-color: rgba(0,0,0,.5);
    margin-bottom: 0;
    padding-left: 10px;
    color: #fff;
    font-size: 12px;
}

.news ul li:first-child p {
    line-height: 40px;
    font-size: 20px;
}